package cn.com.shopec.erp.stock.entity;

import java.io.Serializable;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

import org.hibernate.annotations.GenericGenerator;

/**
 * 
 * @ClassName: StockOut
 * @Description: 出库信息实体类
 * @author: zengxuezhou
 * @date: 2016年11月28日 下午2:27:01
 */
@Entity
@Table(name = "TBL_STOCKOUT")
public class StockOut implements Serializable {

	private static final long serialVersionUID = -1502617352453871781L;

	/** id **/
	private String id;

	/** 出库单号 **/
	private String stockOutNo;

	/** 收货人名称 **/
	private String receiverName;

	/** 收货人名称 **/
	private String receiverTel;

	/** 收货人名称 **/
	private String receiverAddr;

	/** 出库状态（0.未出库 1.已出库) **/
	private Integer stockOutState;

	/** 出库类型 **/
	private Integer stockOutType;

	/** 出库，创建人员 **/
	private String creater;

	/** 出库，创建日期 **/
	private Date createTime;

	/** 修改人员 **/
	private String updater;

	/** 修改日期 **/
	private Date updateTime;

	/** 删除标识 **/
	private Integer deletedFlag;

	/** 出库类型编号 **/
	private String stockOutTypeNo;

	/** 物流公司编码 **/
	private String logisticsNo;

	/** 物流名称 **/
	private String logisticsName;
	
	/** 是否用户自取 0 是 1 否 **/
	private Integer productFetchType;
	
	/** 物流单号 **/
	private String logisticsOrder;

	/** 货源  1：商城发货 2：供应商发货 **/
	private String goodsSupply;
	
	
	@Id
	@GenericGenerator(name = "generator", strategy = "uuid.hex")
	@GeneratedValue(generator = "generator")
	@Column(name = "id", unique = true, nullable = false, length = 32)
	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	@Column(name = "STOCKOUT_NO")
	public String getStockOutNo() {
		return stockOutNo;
	}

	public void setStockOutNo(String stockOutNo) {
		this.stockOutNo = stockOutNo;
	}

	@Column(name = "RECEIVER_NAME")
	public String getReceiverName() {
		return receiverName;
	}

	public void setReceiverName(String receiverName) {
		this.receiverName = receiverName;
	}

	@Column(name = "RECEIVER_TEL")
	public String getReceiverTel() {
		return receiverTel;
	}

	public void setReceiverTel(String receiverTel) {
		this.receiverTel = receiverTel;
	}

	@Column(name = "RECEIVER_ADDR")
	public String getReceiverAddr() {
		return receiverAddr;
	}

	public void setReceiverAddr(String receiverAddr) {
		this.receiverAddr = receiverAddr;
	}

	@Column(name = "STOCKOUT_STATE")
	public Integer getStockOutState() {
		return stockOutState;
	}

	public void setStockOutState(Integer stockOutState) {
		this.stockOutState = stockOutState;
	}

	@Column(name = "STOCKOUT_TYPE")
	public Integer getStockOutType() {
		return stockOutType;
	}

	public void setStockOutType(Integer stockOutType) {
		this.stockOutType = stockOutType;
	}

	@Column(name = "CREATE_TIME")
	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	@Column(name = "CREATER")
	public String getCreater() {
		return creater;
	}

	public void setCreater(String creater) {
		this.creater = creater;
	}

	@Column(name = "UPDATER")
	public String getUpdater() {
		return updater;
	}

	public void setUpdater(String updater) {
		this.updater = updater;
	}

	@Column(name = "UPDATE_TIME")
	public Date getUpdateTime() {
		return updateTime;
	}

	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}

	@Column(name = "DELETED_FLAG")
	public Integer getDeletedFlag() {
		return deletedFlag;
	}

	public void setDeletedFlag(Integer deletedFlag) {
		this.deletedFlag = deletedFlag;
	}

	@Column(name = "STOCKOUT_TYPE_NO")
	public String getStockOutTypeNo() {
		return stockOutTypeNo;
	}

	public void setStockOutTypeNo(String stockOutTypeNo) {
		this.stockOutTypeNo = stockOutTypeNo;
	}

	@Column(name = "LOGISTICS_NO")
	public String getLogisticsNo() {
		return logisticsNo;
	}

	public void setLogisticsNo(String logisticsNo) {
		this.logisticsNo = logisticsNo;
	}

	@Column(name = "LOGISTICS_ORDER")
	public String getLogisticsOrder() {
		return logisticsOrder;
	}

	public void setLogisticsOrder(String logisticsOrder) {
		this.logisticsOrder = logisticsOrder;
	}

	@Column(name = "GOODS_SUPPLY")
	public String getGoodsSupply() {
		return goodsSupply;
	}

	public void setGoodsSupply(String goodsSupply) {
		this.goodsSupply = goodsSupply;
	}

	@Column(name = "LOGISTICS_NAME")
	public String getLogisticsName() {
		return logisticsName;
	}

	public void setLogisticsName(String logisticsName) {
		this.logisticsName = logisticsName;
	}

	@Column(name = "PRODUCT_FETCH_TYPE")
	public Integer getProductFetchType() {
		return productFetchType;
	}

	public void setProductFetchType(Integer productFetchType) {
		this.productFetchType = productFetchType;
	}
	
	
}